package com.liachen.stock.entity.etf;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO 功能描述
 *
 * @author d85v8h9 chen.liang
 * @date 2023/3/14 15:33
 * @since V1.0
 */
@NoArgsConstructor
@Data
public class ZsEtfInfo {
    /**
     * {
     *     "totalMv": 12501726213215,
     *     "code": "000922.CSI",
     *     "componentn": 100,
     *     "guxilv": 0.0644,
     *     "roe": 0.1051,
     *     "recommend": 0,
     *     "type": 1,
     *     "makername": "中证公司",
     *     "oneMouthClose": 5111.87,
     *     "rpsMap": null,
     *     "pinyinF": "zzhl|ZZHL|zzgl|ZZGL|",
     *     "isLock": true,
     *     "pbPer": 0.0391,
     *     "codePre": "000922",
     *     "capitalOrIndex": "index_hs",
     *     "stageChg": {
     *         "start_year_close": 4957.78,
     *         "six_mouth_close": 5144.59,
     *         "one_year_close": 5009.31,
     *         "one_mouth_close": 5138.18,
     *         "three_mouth_close": 5082.25
     *     },
     *     "realtime": 0,
     *     "threeMouthClose": 5101.6,
     *     "openNum": 114,
     *     "updateTime": "2023-03-14T07:13:34.000+0000",
     *     "isOptional": false,
     *     "codeSuff": "CSI",
     *     "pePer": 0.0428,
     *     "pb": 0.6499,
     *     "pinyin": "zhongzhenghongli|ZHONGZHENGHONGLI|zhongzhenggongli|ZHONGZHENGGONGLI|",
     *     "createTime": "2022-08-25T03:20:36.000+0000",
     *     "sixMouthClose": 5187.63,
     *     "pe": 5.5464,
     *     "name": "中证红利",
     *     "indexprofile": "中证红利指数以沪深A股中现金股息率高、分红比较稳定、具有一定规模及流动性的100只股票为成分股，采用股息率作为权重分配依据，以反映A股市场高红利股票的整体表现。",
     *     "fullname": "中证红利指数",
     *     "oneYearClose": 5009.31,
     *     "status": 1
     * }
     */
    private Long totalMv;
    private String code;
    private Integer componentn;
    private Double guxilv;
    private Double roe;
    private Integer recommend;
    private Integer type;
    private String makername;
    private Double oneMouthClose;
    private Object rpsMap;
    private String pinyinF;
    private Boolean isLock;
    private Double pbPer;
    private String codePre;
    private String capitalOrIndex;
    private StageChgDTO stageChg;
    private Integer realtime;
    private Double threeMouthClose;
    private Integer openNum;
    private String updateTime;
    private Boolean isOptional;
    private String codeSuff;
    private Double pePer;
    private Double pb;
    private String pinyin;
    private String createTime;
    private Double sixMouthClose;
    private Double pe;
    private String name;
    private String indexprofile;
    private String fullname;
    private Double oneYearClose;
    private Integer status;

    @NoArgsConstructor
    @Data
    public static class StageChgDTO {
        private Double start_year_close;
        private Double six_mouth_close;
        private Double one_year_close;
        private Double one_mouth_close;
        private Double three_mouth_close;
    }

}
